<?php

namespace app\admin\controller;

use app\common\model\Area as AreaModel;

class Area extends Base
{
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * 列表
     * @return \think\response\Json
     */
    public function list()
    {
        //查询条件
        $where['level'] = 1;

        //查询列表
        $list = getArea();

        //返回信息
        return returnJson(0, '',$list );

    }




}
